package ch4;

public class WhiTest {

	public static void main(String[] args) {
		int start = 0;
		while (++start <= 50)
			System.out.println(start * start);

		start = 1;
		do {
			System.out.println(start++);
		} while (start <= 50);
	}

}
